#include "SkyLayer.h"

SkyLayer::SkyLayer(void)
{
}

SkyLayer::~SkyLayer(void)
{
}

static SkyLayer* g_pInstance=NULL;
SkyLayer* SkyLayer::instance()
{
	if (!g_pInstance)
	{
		g_pInstance = new SkyLayer;
		g_pInstance->init();
	}

	return g_pInstance;

}

bool SkyLayer::init()
{
	CCSprite* sky = CCSprite::spriteWithFile("image/sky.png");
	addChild(sky);
	sky->setAnchorPoint(ccp(0,0));
	
	return 1;
}
